package com.atguigu.template.improve;

public class Client {

	public static void main(String[] args) {

		System.out.println("============制作红豆味的牛奶==========");
		Milk milkWithRedBean = new MilkWithRedBean();
		milkWithRedBean.templateMethod();

		System.out.println("=============花生味的牛奶=============");
		Milk milkWithPeanut = new MilkWithPeanut();
		milkWithPeanut.templateMethod();

		System.out.println("===============纯味的牛奶================");
		Milk milkWithPure = new MilkWithPure();
		milkWithPure.templateMethod();
	}
}
